package design_pattern.decorator.test2;

/**
 * Created by WeiDingKuo on 2017/10/25 14:37
 */
public class DecrotatorBase extends ComponentImpl {
    private ComponentImpl componet;

    public DecrotatorBase(ComponentImpl componet) {
        this.componet = componet;
    }

    @Override
    public void dosomething() {
        componet.dosomething();
    }
}
